package com.pucheng.bracelet.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.clj.fastble.data.BleDevice
import com.pucheng.bracelet.R

class WatchInfoAdapter(private val mData: MutableList<BleDevice>) :BaseQuickAdapter<BleDevice,BaseViewHolder>(
    R.layout.item_watch_info, mData) {
    override fun convert(helper: BaseViewHolder, item: BleDevice){
        helper.setText(R.id.tv_watch_name,item.name)
        helper.setText(R.id.tv_watch_macaddr,item.mac)
    }
}